﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="book_info.aspx.cs" Inherits="book_info" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Repeater ID="rptBookInfo" runat="server" onitemcommand="btnDetails">
        <ItemTemplate>
            <div style="" id="book1">
                <asp:Image ID="image_urlLabel" runat="server" ImageUrl='<%# Eval("image_url") %>' />                       
                <asp:Label ID="nameLabel" runat="server" Text='<%# Eval("name") %>' CssClass="title"/>
                <br />
                Author:
                <asp:Label ID="authorLabel" runat="server" Text='<%# Eval("author") %>' />
                <br />
                price:
                <asp:Label ID="priceLabel" runat="server" Text='<%# Eval("price") %>' CssClass="price"  />
                <br />                  
                <asp:Button ID="btnDetails" runat="server" Text="Details" CssClass="btnDetails" /> 
                <asp:Button ID="btnAddToCard" runat="server" Text="AddToCard" CssClass="btnAddToCard"/>
                <br />
                <br />
            </div>
        </ItemTemplate>
    </asp:Repeater>
</asp:Content>

